var mongoose=require('./db.js');


var projectSchema=mongoose.Schema({
    projectMark:String,//文章标识作者
    projectTitle:String,//文章标题
    projectDesc:String,//文章简介
    projectUrl:String,//文章封面
    projectlog:String,
    startTime:String,//开始时间
    endTime:String,//结束时间
    ctime:String,
    status:{
        type:Number,
        default:1   //文章状态，默认为发布(0为保存)
    }
})



module.exports=mongoose.model('Project',projectSchema,'project');